<template>
	<view class="page">
		<video class="video" :src="src" autoplay></video>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: null
			}
		},
		onLoad(options) {
			this.src = decodeURIComponent(options.src)
		},
		methods: {

		}
	}
</script>

<style lang="less" scoped>
	.page {
		background-color: black;

		.video {
			width: 100%;
			height: calc(100vh - 10upx);
		}
	}
</style>
